export class MessageBoxResult {
    private name: string;
    private value: number;

    get Name() {
        return this.name;
    }

    get Value() {
        return this.value;
    }
    constructor(name: string, value: number) {
        this.name = name;
        this.value = value;
    }
    static Ok: MessageBoxResult = new MessageBoxResult("Ok", 1);
    static Cancel: MessageBoxResult = new MessageBoxResult("Cancel", 2);
}